package com.ruoyi.user.api.domin;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User extends BaseEntity {

    private Long id;

    /** 手机号（不能为空） */

    private String phone;

    /** 头像url */

    private String avatar;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date regTime;


    /** 是否删除 */
    private Long deleted;

}
